package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 应收账款表
 *
 * @author hct
 * @email 77802226@qq.com
 * @date 2020-03-26 16:18:07
 */

@Data
@TableName("unimall_accounts_receivable")
public class AccountsReceivableDO extends SuperDO {

    /**
     *
     */
    /**
     * 销售出单id
     */
    @TableField("send_order_id")
    private Long sendOrderId;
    /**
     * 销售出货单编号
     */
    @TableField("send_order_no")
    private String sendOrderNo;
    /**
     * 客户id
     */
    @TableField("customer_id")
    private Long customerId;
    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;
    /**
     * 应收帐单编号
     */
    @TableField("receivable_no")
    private String receivableNo;

    /**
     * 应收金额
     */
    @TableField("receivable_all_amount")
    private Integer receivableAllAmount;

    /**
     * 应收金额
     */
    @TableField("receivable_youhui_amount")
    private Integer receivableYouhuiAmount;


    /**
     * 实际应收金额
     */
    @TableField("receivable_amount")
    private Integer receivableAmount;
    /**
     * 已收金额
     */
    @TableField("finish_amount")
    private Integer finishAmount;
    /**
     * 操作人
     */
    @TableField("admin_id")
    private Long adminId;

    /**
     * 操作人
     */
    @TableField("admin_name")
    private String adminName;

    /**
     * 备注
     */
    @TableField("receivable_desc")
    private Long receivableDesc;
    /**
     *
     */
    @TableField("gmt_create")
    private Date gmtCreate;
    /**
     *
     */
    @TableField("gmt_update")
    private Date gmtUpdate;
    /**
     * 1正常 2代表已完成
     */
    private Integer status;
    /**
     * 客户类型(1:供应商 2:门店)
     */
    @TableField("customer_type")
    private Integer customerType;

    @TableField("warehouse_id")
    private Long warehouseId;
}
